package org.jeecg.modules.room.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.jeecg.common.aspect.annotation.Dict;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.util.Date;

/**
 * @Description: 房态
 * @Author: jeecg-boot
 * @Date:   2023-12-04
 * @Version: V1.0
 */
@Data
public class RoomStatusVo implements Serializable {
    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "主键")
    private String id;
	/**更新人*/
    @ApiModelProperty(value = "更新人")
    private String updateBy;
	/**更新日期*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "更新日期")
    private Date updateTime;
	/**房间号*/
    @ApiModelProperty(value = "房间号")
    private String roomCode;
	/**房间状态*/
    @ApiModelProperty(value = "房间状态")
    @Dict(dicCode = "room_state")
    private String roomState;
	/**房间标识*/
    @ApiModelProperty(value = "房间标识")
    @Dict(dicCode = "room_flag")
    private String roomFlag;
    /**将到/将走*/
    @ApiModelProperty(value = "将到/将走")
    @Dict(dicCode = "room_state")
    private String roomMg;

    /**房间类型编码*/
    @ApiModelProperty(value = "房间类型编码")
    @Dict(dictTable = "room_type", dicText = "room_type_name", dicCode = "room_type_code")
    private String roomTypeCode;
    /**楼层编码*/
    @ApiModelProperty(value = "楼层编码")
    @Dict(dictTable = "room_level", dicText = "room_level_name", dicCode = "room_level_code")
    private String roomLevelCode;
    /**额定人数*/
    @ApiModelProperty(value = "额定人数")
    private Integer ratingNum;
    /**床数*/
    @ApiModelProperty(value = "床数")
    private Integer bedNum;
    /**是否可作自用房*/
    @ApiModelProperty(value = "是否可作自用房")
    @Dict(dicCode = "is_true")
    private String isSelfUse;
    /**房间特征*/
    @ApiModelProperty(value = "房间特征")
    private String roomDesc;
    /**房间照片*/
    @ApiModelProperty(value = "房间照片")
    private String roomPhoto;
    /**备注*/
    @ApiModelProperty(value = "备注")
    private String remark;
}
